fix recompute of renamed files
authorJoey Hess <joeyh@joeyh.name>
Thu, 27 Feb 2025 15:10:44 +0000 (11:10 -0400)
committerJoey Hess <joeyh@joeyh.name>
Thu, 27 Feb 2025 15:27:26 +0000 (11:27 -0400)
commit9c2c3002a6233a191425854bb69623d9bdd43194
tree6902deb9924aad19c8ae14384ddccb8a768e2aed
parent5d2a608a5630e732e3a49b95c415a348aa04e034
fix recompute of renamed files

When a computed file has been renamed, a recompute needs to write to the
new filename.

I decided to remove --others because it's not clear what it should do in
the face of renames. Should it update only other files that have not
been renamed? Or update files that use the old key to the new key
anywhere in the tree? Or write the other files to the cwd, ignoring
renames? Since --others is just a way to save on compute time, adding
this complexity at this point seems like a bad idea. May revisit later.

Added temporary TODO-compute file
Command/AddComputed.hs
Command/Recompute.hs
TODO-compute [new file with mode: 0644]
doc/git-annex-recompute.mdwn